/*
 * Copyright (C) 2016 Baidu, Inc. All Rights Reserved.
 */
package me.cuilei.springbootdemo.user;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by cuilei05 on 16/9/29.
 */
@Component
@ConfigurationProperties(prefix = "admin")
public class AdminConfig {

    /**
     * 管理员的ID
     */
    private long userId;

    /**
     * 管理员的姓名
     */
    private String userName;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
